//
//  YWConst.m
//  maintain
//
//  Created by 郑想 on 15/10/9.
//  Copyright (c) 2015年 ewin. All rights reserved.
//

#import "YWConst.h"

#pragma mark - kHttpBaseUrl

#ifdef Production
/**生产环境*/
NSString* const kHttpBaseUrl = @"http://manager.ew119.com";
#else
/**测试环境*/
#ifdef Test
//NSString* const kHttpBaseUrl = @"http://192.168.2.126";//君奇
//NSString* const kHttpBaseUrl = @"http://192.168.0.122";//彭伟
//NSString* const kHttpBaseUrl = @"http://172.18.3.125";
//NSString* const kHttpBaseUrl = @"http://192.168.0.188";//罗挺
NSString* const kHttpBaseUrl = @"http://beta.ew119.com";//外网测试
//NSString* const kHttpBaseUrl = @"http://192.168.0.245";//测试
//NSString* const kHttpBaseUrl = @"https://120.77.64.246:8448";//https测试

#else
/**开发环境*/
NSString* const kHttpBaseUrl = @"https://beta.ew119.com";
#endif
#endif

#pragma mark - NSUserDefaults
NSString* const kRequestHeadAppKey = @"kRequestHeadAppKey";
NSString* const kLastLoginTime = @"kLastLoginTime";
NSString* const kLoginStatus = @"kLoginStatus";

NSString* const kDownloadedStaticData = @"kDownloadedStaticData";

NSString* const KAppDeviceToken = @"KAppDeviceToken";
/**临时任务的通知推送显示的红色数字*/

#pragma mark - AVOS
//780248820
//NSString* const kAVOSAppID = @"JszDUUp1W4Wo5OzyxH24MrnU";
//NSString* const kAVOSAppKey = @"9P9sFlrC2RTsoDwY16Rj158O";
//NSString* const kAVOSMasterKey = @"CfSJhJsn95HzE8z2fwOPkdYt";
//weidao

#ifdef Production
NSString* const kAVOSAppID = @"u1BawQAHzOttlQVEyeiUaSWp-gzGzoHsz";
NSString* const kAVOSAppKey = @"mcjm956i83nS3AFsokW9BzPO";
NSString* const kAVOSMasterKey = @"FrNU5OgoTj8YUw2U7Vckekvi";
#else
NSString* const kAVOSAppID = @"fXnYCGLs8ipmSvde4osW8S7n-gzGzoHsz";
NSString* const kAVOSAppKey = @"11j4bGAxcfPs1hI2uuL3blzJ";
NSString* const kAVOSMasterKey = @"kxHLXfAvgpT9KytHMvxDCltr";
#endif

#pragma mark - AliyunOSS

#ifdef Production
/**生产环境*/
NSString* const kAliyunAccessKey = @"KwUfU2M8VgLfmdou";
NSString* const kAliyunSecretKey = @"mSLJ3lCuOQUZOLr47Hqg8GMtKE88SE";
NSString* const kAliyunbucketName = @"ew119";
NSString* const kAliyunEndPoint = @"https://oss-cn-shenzhen.aliyuncs.com";
NSString* const kAliyunImageUrl = @"https://ew119.oss-cn-shenzhen.aliyuncs.com/";
#else
NSString* const kAliyunAccessKey = @"KnoNryXWs1Y6zOKU";
NSString* const kAliyunSecretKey = @"3xSwvx1Zj7PinrtiQ1zi3Bo6mdRXs0";
NSString* const kAliyunbucketName = @"ewindev";
NSString* const kAliyunEndPoint = @"https://oss-cn-shenzhen.aliyuncs.com";
NSString* const kAliyunImageUrl = @"https://ewindev.oss-cn-shenzhen.aliyuncs.com/";
#endif

//#ifdef Production
//NSString* const kAppUpgradeCheckUrl = @"http://api.fir.im/apps/latest/56834800f2fc4278b4000011?api_token=245d24d57a84a5ecec1c232030e05f0c";
//#else
//NSString* const kAppUpgradeCheckUrl = @"http://api.fir.im/apps/latest/568a201a00fc74376300001f?api_token=408b025bdc1e70f363bed5ffff7d6b7b";
//#endif

#pragma mark - Bugly app id
NSString* const BuglyAppId = @"8f2f4f3a7d";
NSString* const BuglyAppKey = @"04352e74-f2a1-4c78-9cc4-fe85d70ebe16";

#pragma mark - AMapLocationAppkeys
NSString* const AMapAPIKey = @"ce1102245acefa73082094dfbd0d34b2";
#pragma mark - uMengAppkeys
NSString* const umengAppkey = @"56fa6a7a67e58e11020014dd";
NSString* const umengAppMasterSecret = @"i4grrpomrzpfalymmjgofa52mumeufdv";

#pragma mark - last remember
NSString *const KYWRememberLastBuilding = @"KYWRememberLastBuilding.data";
NSString *const KYWRememberLastApartment = @"KYWRememberLastApartment.data";
NSString *const KYWRememberLastFloor = @"KYWRememberLastFloor.data";

//NSString *const KYWRememberSystemUptime = @"KYWRememberSystemUptime.data";
/***提示文字*/
NSString* const kTextNoNetwork = @"kTextNoNetwork";//@"网络未连接,请检查您的网络后再试";
/***登录*/
NSString* const kTextLoginInputEmpty = @"kTextLoginInputEmpty";//@"所有选项均为必填项，请输入";
NSString* const kTextLoginStart = @"kTextLoginStart";//@"拼命登录中...";
NSString* const kTextDownloadMetaData = @"kTextDownloadMetaData";//@"拼命下载数据中...";
NSString* const kTextDownloadMetaDataFail = @"kTextDownloadMetaDataFail";//@"下载数据失败";
NSString* const kTextLoginAccountOrPwdError = @"kTextLoginAccountOrPwdError";//@"帐号或密码有误";
NSString* const kTextLoginAccountNoExist = @"kTextLoginAccountNoExist";//@"账号不存在";
NSString* const kTextLoginAccountNoActivate = @"kTextLoginAccountNoActivate";//@"账号未激活";
NSString* const kTextLoginFail = @"kTextLoginFail";//@"登录失败,请重试";
/**退出登录*/
NSString* const kTextLogouting = @"kTextLogouting";//@"退出登录中...";
NSString* const kTextLogoutFail = @"kTextLogoutFail";//@"退出登录失败，请重试";
/**任务*/
NSString* const kTextSubmitTask = @"kTextSubmitTask";//@"提交中...";
NSString* const kTextSubmitTaskFail = @"kTextSubmitTaskFail";//@"提交任务失败";
NSString* const kTextPendingTrouble = @"kTextPendingTrouble";//@"正在分配，请稍候";
NSString* const kTextAssignSuccess = @"kTextAssignSuccess";//@"分配成功";
NSString* const kTextPendingTroubleFail = @"kTextPendingTroubleFail";//@"此维修任务已分配,请等待维修完成";
NSString* const kTextTroubleChangePartsNotNull = @"kTextTroubleChangePartsNotNull";//@"配件名称不可为空";
NSString* const kTextTroubleChangePartsMax = @"kTextTroubleChangePartsMax";//@"配件名称不超过100个字符";
NSString* const kTextTroubleDescriptionNotNull = @"kTextTroubleDescriptionNotNull";//@"请填写备注说明故障,维修等情况";
NSString* const kTextTroubleDescriptionMax = @"kTextTroubleDescriptionMax";//@"故障描述不超过100个字";
NSString* const kTextNoteMax = @"kTextNoteMax";//@"备注内容不超过100个字";
NSString* const kTextCantContainEmoji = @"kTextCantContainEmoji";//@"输入的内容不支持表情和特殊字符";
/**扫一扫*/
NSString* const kTextScanEquipmentNotMatch = @"kTextScanEquipmentNotMatch";//@"扫码到的设备和任务中的设备不匹配";
NSString* const kTextCameraIsNotAvailable = @"kTextCameraIsNotAvailable";//@"您的相机不可用";
NSString* const kTextBeingProcessed = @"kTextBeingProcessed";//@"处理中...";
NSString* const kTextSelectTemporaryTask = @"kTextSelectTemporaryTask";//@"当前没有计划中的任务,是否做临时任务";
NSString* const kTextErrorOfGetImage = @"kTextErrorOfGetImage";//@"获取图片错误";
NSString* const kTextConfirmSubmitMission = @"kTextConfirmSubmitMission";//@"确认提交记录";

NSString* const kTextSubmitPostTrouble = @"kTextSubmitPostTrouble";//@"提交报障中...";
NSString* const kTextSubmitPostTroubleFail = @"kTextSubmitPostTroubleFail";//@"提交报障失败";
NSString* const kTextConfirmSubmitPostTrouble = @"kTextConfirmSubmitPostTrouble";//@"确认提交报障";
NSString* const kTextConfirmSubmitPostTroubleFinished = @"kTextConfirmSubmitPostTroubleFinished";//@"报障完成";

NSString* const KNotFirstEnterLedger = @"KNotFirstEnterLedger";
NSString* const KFirstEnterLedgerTips = @"KFirstEnterLedgerTips";//@"点击下方蓝色的 + 号按钮,选定设备,即可创建当前任务类型的临时任务哦!";
//常规检测，保养，维修
NSString* const KNotFirstEnterTempmission = @"KNotFirstEnterTempmission";
NSString* const KFirstEnterTempmissionTips = @"KFirstEnterTempmissionTips";//@"点击下方蓝色的扫描按钮,可以通过扫描二维码进入到该二维码工作界面或台账界面哦!";
//临时巡查
NSString* const KNotFirstEnterPatrol = @"KNotFirstEnterPatrol";
NSString* const KFirstEnterPatrol = @"KFirstEnterPatrol";//@"未匹配到巡查任务,您当前正在执行临时巡查任务,您可以先制定计划并下发任务进行监管及统计";
//临时检测
NSString* const KNotFirstEnterCheck = @"KNotFirstEnterCheck";
NSString* const KFirstEnterCheck = @"KFirstEnterCheck";//@"未匹配到检测任务,您当前正在执行临时检测任务,您可以先制定计划并下发任务进行监管及统计";
//临时保养
NSString* const KNotFirstEnterMaintain = @"KNotFirstEnterMaintain";
NSString* const KFirstEnterMaintain = @"KFirstEnterMaintain";//@"未匹配到保养任务,您当前正在执行临时保养任务,您可以先制定计划并下发任务进行监管及统计";
//临时巡更
NSString* const KNotFirstEnterKeepwatch = @"KNotFirstEnterKeepwatch";
NSString* const KFirstEnterKeepwatch = @"KFirstEnterKeepwatch";//@"未匹配到巡更任务,您当前正在执行临时巡更任务,您可以先制定计划并下发任务进行监管及统计";
//临时维修
NSString* const KNotFirstEnterMaintenance = @"KNotFirstEnterMaintenance";
NSString* const KFirstEnterMaintenance = @"KFirstEnterMaintenance";//@"未匹配到维修任务,您当前正在执行临时维修任务,您可以先制定计划并下发任务进行监管及统计";
//抢单
NSString* const KNotFirstEnterGrabTroubleBill = @"KNotFirstEnterGrabTroubleBill";
NSString* const KFirstEnterGrabTroubleBillTips = @"KFirstEnterGrabTroubleBillTips";//@"请在列表中选择适合您的任务，并点击“我抢”完成抢单，成功抢单后您可在任务列表查看该任务并请及时完成任务";
//抢单
NSString* const KNotFirstGrabTroubleBillSucceed = @"KNotFirstGrabTroubleBillSucceed";
NSString* const KFirstGrabTroubleBillSucceedTips = @"KFirstGrabTroubleBillSucceedTips";//@"请在维修模块找到此任务，并请及时完成";
//第一次进入做检测保养，巡查任务的页面
NSString* const KNotFirstEnterDoMissionVC = @"KNotFirstEnterDoMissionVC";
NSString* const KFirstEnterDoMissionVCTips = @"KFirstEnterDoMissionVCTips";//@"已生成维保记录，您可直接提交维保记录，或选中某一设备后点击取消保存按钮以取消对某一设备的维保记录，然后再提交您的维保记录";

/**3G/4G网络的开关*/
NSString* const KNetWorkType = @"KNetWorkType";

/**发现*/
NSString* const kTextHeadPhotoUploading = @"kTextHeadPhotoUploading";//@"上传中";
NSString* const kTextPasswordNotNull = @"kTextPasswordNotNull";//@"请输入新的密码";
NSString* const kTextPasswordNotSame = @"kTextPasswordNotSame";//@"两次输入的密码不一致";
NSString* const kTextModifyPasswordSuccess = @"kTextModifyPasswordSuccess";//@"修改密码成功";
NSString* const kTextModifyPasswordFail = @"kTextModifyPasswordFail";//@"修改密码失败,请重试";
NSString* const kTextCommitSuccess = @"kTextCommitSuccess";//@"提交成功";
NSString* const kTextFeedBackNotNull = @"kTextFeedBackNotNull";//@"反馈信息不能为空";
NSString* const kTextModifyFeedBackFail = @"kTextModifyFeedBackFail";//@"提交反馈失败,请重试";
NSString* const kTextNoEquipment = @"kTextNoEquipment";//@"此二维码无设备";
NSString* const kTextLoadFailed = @"kTextLoadFailed";//@"加载失败!";

/**巡更*/
//NSString* const kTextConfirmSubmitPatrolRecord = @"确认提交巡更记录";
NSString* const kTextSubmitPatrolRecordSuccess = @"kTextSubmitPatrolRecordSuccess";//@"提交记录成功";
NSString* const kTextSubmitPatrolRecordFail = @"kTextSubmitPatrolRecordFail";//@"提交记录失败";
//签到
NSString* const kTextAttendanceStart = @"kTextAttendanceStart";//@"提交记录中...";
NSString* const kTextAttendanceNoteStart = @"kTextAttendanceNoteStart";//@"提交申诉中...";
NSString* const kTextAttendanceFail = @"kTextAttendanceFail";//@"提交记录失败";
NSString* const kTextAttendanceNoteFail = @"kTextAttendanceNoteFail";//@"提交申诉失败";

//抄表
NSString* const kTextMeterReadingNoMeter = @"kTextMeterReadingNoMeter";//@"此二维码无相关表可进行抄表，请扫描其他码";
NSString* const kTextMeterNumberReadingNoMeter = @"kTextMeterNumberReadingNoMeter";//@"此表号无相关表可进行抄表，请重新输入";

/**部分推送名称定义*/
//故障详情页面刷新
NSString* const KPostRefreshCirculationDetailVCNoti = @"KPostRefreshCirculationDetailVCNoti";

NSString* const KPostCirculationHandlerNotification = @"KPostCirculationHandlerNotification";
NSString* const KPostNoQrcodePostTroubleNotification = @"KPostNoQrcodePostTroubleNotification";
NSString* const KPostNoticeAttachmentReflashNotification = @"KPostNoticeAttachmentReflashNotification";
NSString* const KPostModifyMeterReadingRecordSuccessNoti = @"KPostModifyMeterReadingRecordSuccessNoti";

//报障未读数推送
NSString* const KPostReportTroubleNoReadCountNotification = @"KPostReportTroubleNoReadCountNotification";
//刷新工作提醒推送
NSString* const KPostRefreshTheLatestWorkReminderNotification = @"KPostRefreshTheLatestWorkReminderNotification";
//铃铛黄点推送
NSString* const KPostShowBellYellowSpotNotification = @"KPostShowBellYellowSpotNotification";
NSString* const KPostRefreshUnreadReplyNotification = @"KPostRefreshUnreadReplyNotification";
//物料未读数推送
NSString* const KPostMaterialNoReadCountNotification = @"KPostMaterialNoReadCountNotification";
//清点未读数推送
NSString* const KPostAssetsInventoryNoReadCountNotification = @"KPostAssetsInventoryNoReadCountNotification";
//添加参与者
NSString* const KPostMissionAddObserverNotification = @"KPostMissionAddObserverNotification";
//移除参与者参与者
NSString* const KPostMissionDeleteObserverNotification = @"KPostMissionDeleteObserverNotification";
//抢单成功通知
NSString* const KPostGrabTroubleBillSuccessNotification = @"KPostGrabTroubleBillSuccessNotification";
//抢单失败通知
NSString* const KPostGrabTroubleBillFailNotification = @"KPostGrabTroubleBillFailNotification";
//分配维修单
NSString* const KPostAssignTroubleBillNotification = @"KPostAssignTroubleBillNotification";
//分配维修单
NSString* const KPostGrabTroubleBillTotalCountNotification = @"KPostGrabTroubleBillTotalCountNotification";
//提醒未读数通知
NSString* const KPostWorkRmindUnReadCountNotification = @"KPostWorkRmindUnReadCountNotification";
//监控报警未读数通知
NSString* const KPostMonitorAlarmUnReadCountNotification = @"KPostMonitorAlarmUnReadCountNotification";

//强制下线推送
NSString* const KPushLogOutNotification = @"KPushLogOutNotification";

//切换机构成功通知
NSString* const KPushchangeOrganizationSuccess = @"KPushchangeOrganizationSuccess";
//失败记录上传成功通知
NSString* const KPushBackgroundUploadRecordSuccessNotification = @"KPushBackgroundUploadRecordSuccessNotification";

